package dao;

import model.Order;
import util.OrderPager;

import java.util.List;

/**
 * Created by admin on 2016/8/15.
 */
public interface OrderDAO {
    public void save(Order order);
    public Order findById(int id);
    public void delete(Order order);
    public void update(Order order);
    public List findByPage(OrderPager pager) throws Exception;
    public int getMaxPages(OrderPager pager);
}
